package com.atguigu.item;

import com.atguigu.gmall.starter.cache.annotation.EnableAppCache;
import com.atguigu.gmall.common.config.thread.annotation.EnableAppThreadPool;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

//@EnableAspectJAutoProxy
@SpringCloudApplication
@EnableFeignClients(basePackages ="com.atguigu.gmall.feign.product")//TODO 用谁扫谁
//@EnableAppThreadPool// 开启线程池注解
//@EnableAppCache  //缓存注解
public class serviceItemApplication {
    public static void main(String[] args) {

        SpringApplication.run(serviceItemApplication.class,args);
    }
}
